import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@SuppressWarnings("SpringBootApplicationSetup")
@SpringBootApplication
@MapperScan("com.xiaoming.mojbackendcommon.aop.mapper")
@EnableAspectJAutoProxy(proxyTargetClass = true, exposeProxy = true)
@ComponentScan("com.xiaoming")
public class BackendCommonApplication {


    public static void main(String[] args) {
        SpringApplication.run(BackendCommonApplication.class, args);
    }

}
